#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable : 4996)
#pragma warning(disable : 6031)

#include <stdio.h>

int main() 
{
    int a = 0, b = 0, c = 0;
    int max = 0;
    scanf("%d %d %d", &a, &b, &c);
    max = a > (b > c ? b : c) ? a : (b > c ? b : c);
    printf("%d", max);
    return 0;
}